package dao;

import java.sql.Date;
import java.util.List;
import java.util.Vector;

import model.Student;

public interface IDao_Student
{

	List<Student> queryAll(int scale);

	List<Student> queryByClassroom(String s, int scale);

	List<Student> queryByCompany(String s, int scale);

	List<Student> queryByDate(String s, int scale);

	List<Student> queryByMajor(String s, int scale);

	List<Student> queryByName(String s, int scale);

	List<Student> queryBydormNumber(String s, int scale);

	List<Student> queryByRemark(String s, int scale);

	List<Student> queryBySchool(String s, int scale);

	List<Student> queryByTeacher(String s, int scale);

	List<Student> queryByTelephone(String s, int scale);

	int transition(int studentId, int dormId);

	int transition_dorm(int dormId, Date date, int newPeopleCount);

	int transition_student(int studentId, Date date, int dormId);

	int updateInfo(Student student1, Student student2);

	List<Student> queryByDebt(String s, int scale);

	List<Student> queryByIsOut(String s, int scale);

	List<Student> queryBySex(String s, int scale);

}
